/*
 * @Author: wangzhongjie
 * @Date: 2019-01-09 14:02:56
 * @LastEditors: wangzhongjie
 * @LastEditTime: 2019-01-16 14:29:28
 * @Description: 专属推荐
 * @Email: uvdream@163.com
 */

import 'package:flutter/material.dart';
class OnlyRecommend extends StatelessWidget{
  @override
  Widget build(BuildContext context){
    return  SliverGrid.count(
              // 宽高比例
              // childAspectRatio: 1.5,
              crossAxisCount: 2,
              children: <Widget>[
                Container(
                  height: 40.0,
                  color: Colors.red,
                ),
                Container(
                  height: 40.0,
                  color: Colors.blue,
                ),
                Container(
                  height: 40.0,
                  color: Colors.greenAccent,
                ),
                Container(
                  height: 40.0,
                  color: Colors.red,
                ),
                Container(
                  height: 40.0,
                  color: Colors.orange,
                ),
                Container(
                  height: 40.0,
                  color: Colors.green,
                ),
              ],
            );

  }
}
